// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__C7F2F38A_84D4_470E_9A18_B0A4B8B4054A__INCLUDED_)
#define AFX_MAINFRM_H__C7F2F38A_84D4_470E_9A18_B0A4B8B4054A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "myStatusBar.h"
#include "ToolBar24BitImage.h"
#include "ChildFrameDebug.h"

const int DEBUG_WINDOW_HEIGHT = 64;

class ParentMainFrame : public CMDIFrameWnd
{
	DECLARE_DYNAMIC(ParentMainFrame)
public:
	ParentMainFrame();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:

	virtual ~ParentMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

public:  // control bar embedded members
	myStatusBar  m_wndStatusBar;
	myStatusBar  m_wndStatusBar2;
	C24BitImageToolBar	m_wndToolBar;
	CDialogBar	m_wndDialogBar;
	ChildDebugFrame     *pDebugFrame;

// Generated message map functions

public:
	CFrameWnd*	onGraphWindow();
	void		OnCloseAllEditWindows();
	CFrameWnd*	onEditWindow();
	CFrameWnd*	OnDebugWindow();
	CFrameWnd*	OnTreeWindow();
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDropFiles(HDROP hDropInfo);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	afx_msg BOOL OnShowHideStatusBar( UINT nID );
	afx_msg void OnUpdateViewDebugOutputViewButton( CCmdUI* pCmdUI );
	afx_msg void OnShowHideDebugView();
public:
	afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	bool IsDebugViewVisible();
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__C7F2F38A_84D4_470E_9A18_B0A4B8B4054A__INCLUDED_)
